package pers.sports.service;

import pers.sports.entity.Manager;
import pers.sports.vo.LoginInfo;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

public interface ManagerService {

    //判断管理员密码是否正确
    Boolean ManagerPwdByNum(LoginInfo loginInfo) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    List<Manager> finall(Integer page, Integer limit);

    String findIdentityByName(String loginName);

    Boolean findNumByManagerNum(String managerNum);

    Boolean insertManager(Manager manager);

    void updatePwdByNum(String number, String new_password);

    Integer countNumber();

    boolean deleteById(String id);
}
